<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>思维殿堂计划</title>
    <link type="text/css" rel="stylesheet" href="style/jsmind.css" />
    <style type="text/css">
	    .body{
			margin:0;
		}
        #jsmind_container{
            width:auto;
            height:550px;
            border:solid 1px #ccc;
            background:#f4f4f4;
        }
		.text-muted {
			color: #999;
			float: left;
		}
    </style>
</head>
<body>
<div id="jsmind_container"></div>
<script type="text/javascript" src="js/jsmind.js"></script>
<script type="text/javascript" src="js/jsmind.draggable.js"></script>
<script type="text/javascript">
    function load_jsmind(){
        var mind = {
			/* 元数据，定义思维导图的名称、作者、版本等信息 */
			"meta":{
				"name":"jsMind-demo-tree",
				"author":"hizzgdev@163.com",
				"version":"0.2"
			},
			/* 数据格式声明 */
			"format":"node_tree",
			/* 数据内容 */
			"data": {
			"id": "root",
			"topic": "思维殿堂计划",
			"expanded": true,
			"children": [{
					"id": "de4609a1dd9b5d11",
					"topic": "信息与计算科学",
					"expanded": true,
					"direction": "right",
					"children": [{
							"id": "de461a379c9c374e",
							"topic": "算法之美",
							"expanded": true
						}, {
							"id": "de46c8d0f6ff3e65",
							"topic": "网址导航",
							"expanded": true
						}, {
							"id": "de46caa6ab753613",
							"topic": "软件推荐",
							"expanded": true
						}, {
							"id": "de46cce02c420bc3",
							"topic": "操作系统",
							"expanded": true
						}, {
							"id": "de46d17d6087fb2f",
							"topic": "编程语言",
							"expanded": true
						}, {
							"id": "de46d39fb6eade74",
							"topic": "图形学",
							"expanded": true
						}
					]
				}, {
					"id": "de451ed2043d72ab",
					"topic": "自然科学",
					"expanded": true,
					"direction": "right",
					"children": [{
							"id": "de45ed736cc97ffa",
							"topic": "物理学",
							"expanded": true
						}, {
							"id": "de46161e2613acfd",
							"topic": "数学",
							"expanded": false,
							"children": [{
									"id": "de46d7b3ab09af3a",
									"topic": "几何",
									"expanded": true
								}, {
									"id": "de46ecc6664d7eca",
									"topic": "代数",
									"expanded": true
								}, {
									"id": "de46f369d36f9c47",
									"topic": "分析 ",
									"expanded": true
								}, {
									"id": "de470a883499bec3",
									"topic": "概率",
									"expanded": true
								}, {
									"id": "de46dcfa9b33408d",
									"topic": "名人堂",
									"expanded": true
								}, {
									"id": "de474d651d379420",
									"topic": "数学之美",
									"expanded": true
								}, {
									"id": "de470bfe26b345e2",
									"topic": "统计",
									"expanded": true
								}, {
									"id": "de4711f395a7aabc",
									"topic": "函数论",
									"expanded": true
								}, {
									"id": "de471443e033a2d2",
									"topic": "拓扑学",
									"expanded": true
								}, {
									"id": "de4719629acaa8de",
									"topic": "数论",
									"expanded": true
								}
							]
						}, {
							"id": "de45f8978545e4a5",
							"topic": "生物学",
							"expanded": false,
							"children": [{
									"id": "de471d018730a55b",
									"topic": "植物学",
									"expanded": true
								}, {
									"id": "de4720dad1db2df8",
									"topic": "动物学",
									"expanded": true
								}, {
									"id": "de47223a4a757f59",
									"topic": "微生物学",
									"expanded": true
								}, {
									"id": "de472469fa0c13a3",
									"topic": "生理学",
									"expanded": true
								}, {
									"id": "de4731344d82e7fb",
									"topic": "遗传学",
									"expanded": true
								}, {
									"id": "de473414076393a1",
									"topic": "发育学",
									"expanded": true
								}, {
									"id": "de4735234d8b7a8e",
									"topic": "生态学",
									"expanded": true
								}, {
									"id": "de473ad76138c697",
									"topic": "分子生物学",
									"expanded": true
								}, {
									"id": "de473d096c4197c1",
									"topic": "细胞生物学",
									"expanded": true
								}
							]
						}, {
							"id": "de45f664db00afdf",
							"topic": "化学",
							"expanded": true
						}, {
							"id": "de45fa5520638abc",
							"topic": "天文学",
							"expanded": true
						}, {
							"id": "de45fc81151456c0",
							"topic": "地理学",
							"expanded": true
						}, {
							"id": "de4621e39d2e91ef",
							"topic": "大气与海洋学",
							"expanded": true
						}
					]
				}, {
					"id": "de45464771e88f3f",
					"topic": "社会科学",
					"expanded": false,
					"direction": "right",
					"children": [{
							"id": "de45739062a60452",
							"topic": "历史学",
							"expanded": true
						}, {
							"id": "de45788b1086c4e7",
							"topic": "社会学",
							"expanded": true
						}, {
							"id": "de4583adf63954bd",
							"topic": "人类学",
							"expanded": true
						}, {
							"id": "de45893c720488cd",
							"topic": "考古学",
							"expanded": true
						}, {
							"id": "de4670c63bf3770d",
							"topic": "语言学",
							"expanded": true
						}, {
							"id": "de458c6c5359502e",
							"topic": "经济学",
							"expanded": true
						}, {
							"id": "de457edad2bf3e10",
							"topic": "民俗学",
							"expanded": true
						}, {
							"id": "de458ec2fa9f2b57",
							"topic": "政治学",
							"expanded": true
						}, {
							"id": "de4596f65712e99d",
							"topic": "法律学",
							"expanded": true
						}
					]
				}, {
					"id": "de45314e3a148ece",
					"topic": "思维科学",
					"expanded": false,
					"direction": "right",
					"children": [{
							"id": "de457bc06a379a10",
							"topic": "心理学",
							"expanded": true
						}, {
							"id": "de45b3dca510273c",
							"topic": "哲学",
							"expanded": true
						}, {
							"id": "de45bfb0a452b5fa",
							"topic": "逻辑学",
							"expanded": true
						}, {
							"id": "de45c428f43cdc0a",
							"topic": "人工智能",
							"expanded": true
						}, {
							"id": "de45c6ddcbdbb097",
							"topic": "模式识别",
							"expanded": true
						}, {
							"id": "de45cd5e24eaa176",
							"topic": "自然语言",
							"expanded": true
						}, {
							"id": "de45daf489eec32d",
							"topic": "神经生理学",
							"expanded": true
						}, {
							"id": "de45dda1a84de50a",
							"topic": "脑科学",
							"expanded": true
						}
					]
				}, {
					"id": "de4627355359eae5",
					"topic": "视觉",
					"expanded": true,
					"direction": "left",
					"children": [{
							"id": "de46311a910a102c",
							"topic": "电影",
							"expanded": true
						}, {
							"id": "de46329bf6321dc8",
							"topic": "电视剧",
							"expanded": true
						}, {
							"id": "de4633ef96166662",
							"topic": "动漫番剧",
							"expanded": true
						}, {
							"id": "de46386ac10a6102",
							"topic": "画作",
							"expanded": true
						}, {
							"id": "de46516e49d01538",
							"topic": "小说",
							"expanded": true
						}, {
							"id": "de46e24bb6b14cf0",
							"topic": "电子游戏",
							"expanded": true
						}
					]
				}, {
					"id": "de462c9064475694",
					"topic": "听觉",
					"expanded": true,
					"direction": "left",
					"children": [{
							"id": "de4647960846bdfe",
							"topic": "歌曲",
							"expanded": true
						}
					]
				}, {
					"id": "de462ed0832498e8",
					"topic": "嗅觉",
					"expanded": true,
					"direction": "left",
					"children": [{
							"id": "de468f7b0ff46229",
							"topic": "香水",
							"expanded": true
						}
					]
				}, {
					"id": "de4692b357eef1e7",
					"topic": "味觉",
					"expanded": true,
					"direction": "left",
					"children": [{
							"id": "de4695b840200a90",
							"topic": "美食",
							"expanded": true
						}
					]
				}
			]
		}
	
	<!-- 数据部分结尾 -->
		};
        var options = {
            container:'jsmind_container',
            editable:true,
            theme:'primary',
			mode :'full',           // 显示模式
			support_html : true,    // 是否支持节点里的HTML元素
        }
        var jm = jsMind.show(options,mind);
          jm.set_readonly(true);
        // var mind_data = jm.get_data();
        // alert(mind_data);
    }

    load_jsmind();
</script>

<p class="text-muted"><a class="text-muted" href="/">Mind Palace Project</a> © Copyright 2019->∞. All rights reserved.</p>
</body>
</html>
